<?php

 /**
  * @package JooS
  * @subpackage Syntax_PHPackager
  */

  require_once "JooS/Syntax/Complex/Transition.php";

 /**
  * Expression ::= Value, { [ Operator_Infix, Value ] };
  */
  class JooS_Syntax_PHPackager_Expression extends JooS_Syntax_Complex_Transition {
    /**
     * @return JooS_Syntax_Complex_Concatenate
     */
    protected function createRule() {
      return $this->createSyntax("Complex_Concatenate", array(
        $this->createSyntax("PHPackager_Value"), 
        $this->createSyntax("Complex_Repetition", $this->createSyntax("Complex_Concatenate", array(
          $this->createSyntax("Common_Whitespace"), 
          $this->createSyntax("PHPackager_Operator_Infix"), 
          $this->createSyntax("Common_Whitespace"), 
          $this->createSyntax("PHPackager_Value"), 
        )))
      ));
    }
  }
